<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of sidebarComponent
 *
 * @author tomislav
 */
class sliderComponent extends sfComponent {

    public function execute($request)
    {
        $this->slider = Doctrine_core::getTable('FrontpageSlider')->findByIsActive('1');

    }

}
?>
